Automattic\WooCommerce\GoogleListingsAndAds\API\Google\Middleware A

Total Complexity 56
Dependencies 14
Dependents 7
Total lines 519
Lines of code 305
Logical lines of code 154
Comment lines 138
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
create_ads_account()
A
42 6 50
create_merchant_account_request()
S
46 6 39
link_ads_account()
S
48 5 32
claim_merchant_website()
S
48 5 32
link_merchant_to_mca()
S
50 5 28
get_merchant_accounts()
S
54 5 20
is_subaccount()
S
57 5 16
create_merchant_account()
S
54 4 22
mark_tos_accepted()
S
52 3 25
check_tos_accepted()
S
63 2 10
get_tos_url()
S
74 2 4
get_manager_url()
S
74 2 4
new_account_name()
S
74 2 4
link_merchant_account()
S
77 1 4
default_account_name()
S
71 1 6
get_site_timezone_string()
S
70 1 6
__construct()
S
81 1 3